package com.linxz.wandnroid.pojo.resp;


import com.linxz.framework.protocol.resp.BaseBean;
import com.linxz.wandnroid.pojo.GankResultBean;

import java.util.List;

/**
 * @author Linxz
 * 创建日期：2020年02月28日 13:06
 * version：v4.5.4
 * 描述：
 */
public class GankResp extends BaseBean {

    private boolean error;
    private List<String> category;
    private GankResultBean results;

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public List<String> getCategory() {
        return category;
    }

    public void setCategory(List<String> category) {
        this.category = category;
    }

    public GankResultBean getResults() {
        return results;
    }

    public void setResults(GankResultBean results) {
        this.results = results;
    }

    @Override
    public boolean isOk() {
        return !error;
    }

    @Override
    public GankResultBean getData() {
        return results;
    }
}
